#include "udf_cfg.h"

#if ( ENABLE_UDF11 > 0 && !defined(UDP_SUB_PROJECT) && !defined(UDT_SUB_PROJECT) && (defined(UDF11_SUB_PROJECT) || defined(UDX_SUB_PROJECT)) )

#define APP_DEMO_ENABLE
#include "app.h"


#if DEMO_CFG == DEMO_CFG_APP_UART_OTA
#include "../Demo_APP_UART_OTA/udsf_demo_app_uart_ota.c"
int udf11_udf_handle(void)
{
	return udsf_demo_app_uart_ota();
}
#elif DEMO_CFG == DEMO_CFG_APP_UART_CFG
#include "../Demo_APP_UART_CFG/udsf_demo_app_uart_cfg.c"
int udf11_udf_handle(void)
{
	return udsf_demo_app_uart_cfg();
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_CSTD_LIB
#include "../Demo_APP_TEST_CSTD_LIB/udsf_demo_app_test_cstd_lib.c"
int udf11_udf_handle(void){
	udsf_demo_app_test_cstd_lib();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_FLASH
#include "../Demo_APP_TEST_FLASH/udsf_demo_app_test_flash.c"
int udf11_udf_handle(void){
	udsf_demo_app_test_flash();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_STACK
#include "../Demo_APP_TEST_STACK/udsf_demo_app_test_stack.c"
int udf11_udf_handle(void){
	udsf_demo_app_test_stack("udf11");
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_SPEED
#include "../Demo_APP_TEST_XIP_SPEED/udsf_demo_app_test_xip_speed.c"
int udf11_udf_handle(void){
	udsf_demo_app_test_xip_speed();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_APP_TIMERA
#include "../Demo_APP_TIMERA/udsf_demo_app_timerA.c"
int udf11_udf_handle(void){
	udsf_demo_app_timerA();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_TEMP
#include "../Demo_APP_TEST_TEMP/udsf_demo_app_test_temp.c"
int udf11_udf_handle(void){
	udsf_demo_app_test_temp();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#elif DEMO_CFG == DEMO_CFG_RADAR_APP_HP_TRACE
#include "../Demo_RADAR_APP_HP_TRACE/udsf_demo_radar_app_hp_trace.c"
int udf11_udf_handle(void){
	return udsf_demo_radar_app_hp_trace_param_cfg();
}
#elif DEMO_CFG == DEMO_CFG_RADAR_APP_LP_TRIGGER
#include "../Demo_RADAR_APP_LP_TRIGGER/udsf_demo_radar_app_lp_trigger.c"
int udf11_udf_handle(void){
	return udsf_demo_radar_app_lp_trigger_param_cfg();
}
#elif DEMO_CFG == DEMO_CFG_RADAR_APP_LP_TRIGGER_OUTDOOR
#include "../Demo_RADAR_APP_LP_TRIGGER_OUTDOOR/udsf_demo_radar_app_lp_trigger_outdoor.c"
int udf11_udf_handle(void){
	return udsf_demo_radar_app_lp_trigger_outdoor_param_cfg();
}
#else
#error "udf11 no demo"
#endif

#endif
